﻿<%@ Page Title="" Language="C#" MasterPageFile="~/manageback.master" AutoEventWireup="true" CodeFile="member_mange.aspx.cs" Inherits="manage_member_mange" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
    管理会员

 
<asp:GridView ID="GridView1" runat="server" DataSourceID="LinqDataSource1" 
        AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" 
        BorderStyle="Solid" BorderWidth="1px" CellPadding="3" DataKeyNames="UserName" 
        ForeColor="Black" GridLines="Vertical" Width="100%">
    <AlternatingRowStyle BackColor="#CCCCCC" />
    <Columns>
        <asp:BoundField DataField="UserName" HeaderText="用户名" ReadOnly="True" 
            SortExpression="UserName" />
        <asp:BoundField DataField="Password" HeaderText="密码" 
            SortExpression="Password" />
        <asp:BoundField DataField="RealName" HeaderText="真实姓名" 
            SortExpression="RealName" />
        <asp:BoundField DataField="Address" HeaderText="地址" 
            SortExpression="Address" />
        <asp:BoundField DataField="Phone" HeaderText="电话号码" SortExpression="Phone" />
        <asp:TemplateField HeaderText="选择">
            <EditItemTemplate>
                <asp:CheckBox ID="CheckBox1" runat="server" />
            </EditItemTemplate>
            <ItemTemplate>
                <asp:CheckBox ID="CheckBox1" runat="server" />
            </ItemTemplate>
            <ItemStyle Width="5%" />
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#CCCCCC" />
    <HeaderStyle BackColor="#384050" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
    <SortedAscendingCellStyle BackColor="#F1F1F1" />
    <SortedAscendingHeaderStyle BackColor="#808080" />
    <SortedDescendingCellStyle BackColor="#CAC9C9" />
    <SortedDescendingHeaderStyle BackColor="#383838" />
</asp:GridView>
<asp:LinqDataSource ID="LinqDataSource1" runat="server" EntityTypeName="" 
        ContextTypeName="DataClassesDataContext" TableName="tb_Member">
</asp:LinqDataSource>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="全选" />
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="删除" />
</div>
</asp:Content>

